// cart模块的共享状态
const cartStore = {
    state: {
        cartNum: 0,
    },
    getters: {},
    mutations: {
        set_cartNum(state,payload) {
            state.cartNum = state.cartNum + payload;
        }
    },
    acions: {}
}

export default cartStore;

